<?php 
       require_once 'authentication.php';
              
      $rootUrl = '/~N02108676/Fourth Project/';
      
      $model = array 
               (
                'Home' => $rootUrl . 'home.php',
                'Links' => $rootUrl . 'links.php',
                'Images' => $rootUrl . 'images.php',
                'Catalogue' => $rootUrl . 'Catalogue/',
                'Books' => $rootUrl . 'Books/',
                'Tools' => $rootUrl .'Tools/',
                'Login' => $rootUrl .'front.php',
                'Log Out' => $rootUrl .'logout.php',
                'Shopping Cart Display' => $rootUrl . 'sCart/',
                'Shopping Cart' => $rootUrl . 'Shopping Cart/'
                
                
                );
      
      if (IsAdmin()) 
        {
            include_once 'atabs.php';
            }
            else {
            ;    }
      
             
?>

<link rel="stylesheet" type="text/css" href="<?=$rootUrl?>Navigation/tabs.css" />
<div>
<ul>
        <? foreach($model as $key => $value){ ?>
                <li class="<?= $section==$key ? 'selected' : ''?>" ><a href="<?=$value?>"><?=$key?></a></li>
    <? } ?>
    
</ul>
<br style="clear:both;" />
</div>
<div class="bar"></div>
<br style="clear:both;" />

